<?php

function output_frame_header($title)
{
echo <<<ROD
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="Content-Language" content="zh-cn" />
    <link rel="stylesheet" href="static/style/posts.css"/>
    <title>$title</title>
</head>
<body>
  <div class="space"></div>
  <div id="hd">
    <table height=110 cellspacing=0 cellpadding=0 width=1000 align=center border=0>
        <tbody>
            <tr><td background="static/image/logo.jpg" height=206></td></tr>
        </tbody>
    </table>
  </div>
  
  <!-- 导航模块 -->
  <div class="topNav">
    <ul class="MNav">
       <li class="first"><a target="_self" href="#"><font size=4><b>首页</b></font></a></li>
       <li><a target="_blank" href="#"><font size=4><b>论坛</b></font></a></li>
       <li><a target="_blank" href="#"><font size=4><b>资料下载</b></font></a></li>
     </ul>
  </div>
  <!-- 登录模块 -->
  <div class="tools">
     <div class="logging">
		<form name="loginForm" action="login.php" method="post">
			<font size=2>用户名</font>
			<input type="text" class="text" name="uname" id="username">
			<font size=2>密码</font>
			<input type="password" class="text" name="pass" id="password">
			<input name="auto_login" type="checkbox" checked="checked">
			<font size=2>记住密码</font>
			<input type="hidden" name="backurl" value="#">
			<!--<input type="submit" value="" class="but01" id="loginsubmit">-->
			<img src="static/image/but01.jpg" onclick="loginForm.submit()" />
			<a target="_blank" class="linka" href="#"><font size=2>立即注册</font></a>
			<a target="_blank" href="#"><font size=2>忘记密码</font></a>
		</form>
     </div>
  </div>
  <!-- 空格 -->
  <div class="space"></div>
  <!-- 内容 -->
  <div id="wp" class="wp ">
     <!-- 布局 -->
	 <div id="ct" class="wp cl">
		 <div class="mn">
             
ROD;
}

function output_frame_footer()
{
echo <<<ROD
    
		</div><!-- /mn -->
	 </div><!-- /ct -->
     <!-- 布局结束 -->
  </div><!-- /wp -->

</body>
</html>

ROD;
}

?>